cae14d80a623d05a67145d5ce3a11095dc09b7aa,src/com/android/settings/dashboard/DashboardAdapter.java,DashboardAdapter,setCategoriesAndSuggestions,#List#List#,128

Before Change



        // TODO: Better place for tinting?
        TypedValue tintColor = new TypedValue();
        mContext.getTheme().resolveAttribute(com.android.internal.R.attr.colorAccent,
                tintColor, true);
        for (int i = 0; i < categories.size(); i++) {
            for (int j = 0; j < categories.get(i).tiles.size(); j++) {
                Tile tile = categories.get(i).tiles.get(j);

After Change


                        tile.intent.getComponent().getPackageName())) {
                    // If this drawable is coming from outside Settings, tint it to match the
                    // color.
                    if (tintColorValue.type == TypedValue.TYPE_ATTRIBUTE) {
                        mContext.getTheme().resolveAttribute(tintColorValue.data,
                                tintColorValue, true);
                    }
                    tile.icon.setTint(tintColorValue.data);
                }